package com.yizisu.videolibrary

import android.net.Uri
import com.google.android.exoplayer2.MediaItem
import com.yizisu.playerlibrary.IYzsPlayer

class LlPlayModel(val bean: TvUrlBean) : IYzsPlayer.Model() {
    override fun onMediaItem(uriCall: (MediaItem?, Throwable?, Boolean) -> Unit) {
        uriCall.invoke(MediaItem.fromUri(Uri.parse(bean.url)), null, false)
    }
}